//
//  ViewController.m
//  06-CycleImages
//
//  Created by dllo on 16/7/21.
//  Copyright © 2016年 dllo. All rights reserved.
//

#import "ViewController.h"
#import "PFCycleImages.h"
#define kScreenWidth [UIScreen mainScreen].bounds.size.width
#define kScreenHeight [UIScreen mainScreen].bounds.size.height
#define kScreenBounds UIScreen mainScreen].bounds
@interface ViewController ()

@end

@implementation ViewController

- (void)viewDidLoad {
    [super viewDidLoad];
    // Do any additional setup after loading the view, typically from a nib.
    PFCycleImages *cycle = [[PFCycleImages alloc] initWithFrame:CGRectMake(0, 0, kScreenWidth, 200)];
    
    NSArray *array = @[@"0.jpg", @"1.jpg", @"2.jpg", @"3.jpg", @"4.jpg"];
    [cycle setImagesArrayWithArray:array];
//    cycle.cycleScrollView.showsHorizontalScrollIndicator = YES;
[self.view addSubview:cycle];

}

- (void)didReceiveMemoryWarning {
    [super didReceiveMemoryWarning];
    // Dispose of any resources that can be recreated.
}

@end
